from django.urls import path
from . import views


urlpatterns = [
    path('<str:author_id>', views.TopicViews.as_view()),
    path('<str:author_id>?<int:t_id>', views.TopicViews.as_view()),  # 删除博客
    # path('<str:blog_username>?t_id=delete_id', views.delete)
    path('<str:author_id>/update', views.TopicViews.as_view()),     # 编辑博客
    # path('update/<str:author_id>?<int:t_id>', views.info_topic)    # 获取编辑页信息

]